package com.gupaoedu.design.template.task.dao;

import com.gupaoedu.design.template.task.CompanyTemplate;
import com.gupaoedu.design.template.task.entity.Employee;

/**
 * <p></p>
 *
 * @author Andy
 * @date 2018/3/14.
 */
public class EmployeeDao {
    private CompanyTemplate companyTemplate = new CompanyTemplate();

    public boolean applyHoliday(Employee employee) {
        return companyTemplate.applyHoliday(employee) == 1 ? true : false;
    }
}
